[Unit]
  Wants=network-online.target
  After=network-online.target

[Service]
  ExecStart=/usr/bin/python3 /home/pi/serv1.py
  ExecReload=/bin/kill -HUP $MAINPID
  Type=idle
  KillMode=process
  
  SyslogIdentifier=smart-test
  SyslogFacility=daemon
 
  Restart=always
  RestartSec=5s
[Install]
  WantedBy=default.target

